/**
 * Created by hongpao on 2017/10/20.
 */

const gulp = require('gulp'),
    babel = require("gulp-babel"),
    autoprefixer = require('gulp-autoprefixer');

gulp.task('gBable', function () {
    return (
        gulp.src('./js/index.js')
            .pipe(babel())
            .pipe(gulp.dest('./'))
    );
});


gulp.task('default', ['gBable']);